package com.truyen.internalws;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

@WebService
public interface PostTruyenService {
	
	/**
	 * This service is used for  topup card from SMS through 7x54
	 * @param username
	 * @param password
	 * @param serviceNumber
	 * @param sender
	 * @param content
	 * @param keyword
	 * @param first_param
	 * @param last_param
	 * @param sms_id
	 * @param smsc
	 * @return
	 */
	@WebMethod(operationName = "receiveMO", action = "urn:receiveMO")
	String receiveMO(@WebParam(name = "username") String username, 
			@WebParam(name = "password") String password,
			@WebParam(name = "serviceNumber") String serviceNumber, 
			@WebParam(name = "sender") String sender, 
			@WebParam(name = "content") String content,
			@WebParam(name = "keyword") String keyword, 
			@WebParam(name = "first_param") String first_param, 
			@WebParam(name = "last_param") String last_param,
			@WebParam(name = "timerecieved") String timerecieved,
			@WebParam(name = "sms_id") String sms_id, 
			@WebParam(name = "smsc") String smsc);
}
